package com.lancoo.ccas53.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * <p>
 * 教学计划对应的学生
 * </p>
 *
 * @author quin.song
 * @since 2024-05-20
 */
@Data
@Accessors(chain = true)
@TableName("plan_teaching_student")
@EqualsAndHashCode(of = {"taskId", "baseTeachingPlanId", "studyNature", "baseStudentId"})
@ApiModel(value = "PlanTeachingStudent对象", description = "教学计划对应的学生")
public class PlanTeachingStudent implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer taskId;

    @ApiModelProperty("基础平台教学计划id")
    private String baseTeachingPlanId;

    @ApiModelProperty("1:主修  2：辅修")
    private Integer studyNature;

    private String baseStudentId;
}
